package com.sense.feel.login.vm

import com.sense.feel.login.model.ReLoginModel
import com.sense.kukoo.common.mvvm.model.BaseMvvmModel
import com.sense.kukoo.common.mvvm.vm.BaseViewModel

/**
 * @Author Lionszhang
 * @Date 2021/2/25 17:33
 * @Name LoginViewModel.java
 * @Instruction LoginActivity VM类
 */
class ReLoginViewModel : BaseViewModel() {
    private var mReLoginModel: ReLoginModel? = null
    override fun initData() {}

    /**
     * @Author Lionszhang
     * @Date 2021/2/25 10:36
     * @Instruction 释放资源
     */
    override fun onCleared() {
        super.onCleared()
        mReLoginModel = null
    }

    override fun createModel(): BaseMvvmModel? {
        mReLoginModel = ReLoginModel()
        return mReLoginModel
    }
}